package pl.s7n.paint.commands;

import java.awt.geom.AffineTransform;
import java.awt.image.BufferedImage;

/**
 * Left (CCW) rotation command
 * 
 * @author 7
 */
public class RotLeftTransformCmd extends AbstractTransformCmd {

  public RotLeftTransformCmd(BufferedImage oldImage) {
    super(oldImage, AffineTransform.getQuadrantRotateInstance(-1), true);
  }

  @Override
  public String toString() {
    return "left rotation";
  }
}
